<?php 
	$this->headLink()->appendStylesheet($this->dirCss.'/mainstyle.css');
	echo $this->render('common/header.phtml');

	if(isset($this->message))
		echo $this->render('common/templatemessage.phtml');	
?>

		
<?php echo $this->render('common/footer.phtml'); ?>